/**
 * Created by wash on 16/8/3.
 */

// 引入组件！直接使用es6的语法
import App from './views/App.vue'
import Home from './views/Home.vue'
import Login from './views/Login.vue'
import Mysql from './views/Mysql.vue'
import Redis from './views/Redis.vue'

export default [
    {
        name: "app",
        path: '/app',
        component: App,
        children: [
            {
                name: 'mysql',
                path: 'mysql',
                component: Mysql
            },
            {
                name: 'redis',
                path: 'redis',
                component: Redis
            }
        ]
    },
    { name: "login", path: '/login', component: Login },
    { name: "home", path: '/home', component: Home }
]